crypto/tls.clientHelloMsg.keyShares (field)
24 uses
crypto/tls (current package)
handshake_client.go#L152: keyShareKeys, hello.keyShares, err = ke.keyShares(config.rand())
handshake_client.go#L157: if len(hello.keyShares) == 2 && !slices.Contains(hello.supportedCurves, hello.keyShares[1].group) {
handshake_client.go#L158: hello.keyShares = hello.keyShares[:1]
handshake_client_tls13.go#L57: if hs.keyShareKeys == nil || hs.keyShareKeys.ecdhe == nil || len(hs.hello.keyShares) == 0 {
handshake_client_tls13.go#L316: if slices.ContainsFunc(hs.hello.keyShares, func(ks keyShare) bool {
handshake_client_tls13.go#L327: hs.keyShareKeys, hello.keyShares, err = ke.keyShares(c.config.rand())
handshake_client_tls13.go#L333: hello.keyShares = hello.keyShares[:1]
handshake_client_tls13.go#L373: hs.hello.keyShares = hello.keyShares
handshake_client_tls13.go#L433: if !slices.ContainsFunc(hs.hello.keyShares, func(ks keyShare) bool {
handshake_messages.go#L93: keyShares []keyShare
handshake_messages.go#L279: if len(m.keyShares) > 0 {
handshake_messages.go#L287: for _, ks := range m.keyShares {
handshake_messages.go#L620: m.keyShares = append(m.keyShares, ks)
handshake_messages.go#L709: keyShares: slices.Clone(m.keyShares),
handshake_server_tls13.go#L218: for _, ks := range hs.clientHello.keyShares {
handshake_server_tls13.go#L234: for _, ks := range hs.clientHello.keyShares {
handshake_server_tls13.go#L629: if len(clientHello.keyShares) != 1 {
handshake_server_tls13.go#L633: ks := &clientHello.keyShares[0]